package com.liuzhou.action.subtask;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;



public class SubtaskUpdatePageAction extends HttpServlet{

	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		//转发修改子任务的页面
		System.out.println("进入转发修改子任务的页面");	
		System.out.println("在子任务修改页面转发Action获取PID"+req.getParameter("pid"));
		HttpSession session = req.getSession();
		session.setAttribute("updataId", req.getParameter("pid"));		
		req.getRequestDispatcher("/WEB-INF/pages/subtasks/update.jsp").forward(req, resp);
	}
	
}
